package service;

import bean.pojo.Room;

import java.util.List;

/**
 * service
 * User: 坚持
 * Date: 2024/12/17 11:46
 * motto: 树欲静而风不止
 * Description:
 * Version: V1.0
 */
public interface RoomService {
    Boolean update(Room room);
    Boolean add(Room room);

    List<Room> roomFindBy(Integer page, Integer limit, Integer roomId, String roomNumber,
                          String roomType, Integer roomArea, String remarks, Integer userId);

    Long findByTotal(Integer roomId, String roomNumber, String roomType, Integer roomArea,
                     String remarks, Integer userId);

    Boolean deleteById(Integer roomId);

    List<Room> findType();

    List<Room> findRoomList();
}
